package com.cy.sc.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <br>@class: Staff
 * <br>@description: 微服务底层基础组件，为其他上层功能提供支持
 * <br>@author: cy
 * <br>@date: 2020-04-02 13:22:42
 * <br>@version: 1.0
 * <br>
 * <br>@since: (版本) 作者 时间 注释
 */
@Data
@NoArgsConstructor
@Accessors(chain=true)//链式
public class Staff implements Serializable {
    private long   staffno;
    private String sname;
    private String sex;
    private int age;
    private long deptno;
    private String db_source;

    public Staff(String sname, String sex, int age, long deptno) {
        this.sname = sname;
        this.sex = sex;
        this.age = age;
        this.deptno = deptno;
    }
}
